<?php
use think\Facade;
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 流年 <liu21st@gmail.com>
// +----------------------------------------------------------------------

// 应用公共文件

//默认情况下，对所有 PHP 的错误都会抛出异常信息，可以用错误级别关闭；
//error_reporting(0);

//可以在公共文件，设置语言包限定列表
\think\facade\Lang::setAllowLangList(['zh-cn','en-us','ja-jp']);

//\think\facade\Cookie::prefix('think_');
//\think\facade\Cookie::set('abc','zh-cn');


//cookie([
//    'prefix'=>'think_'
//]);
//cookie('var','zh-cn');


